<?php
/**
 * Test helper
 */
require_once dirname( __FILE__ ) . '/../../TestHelper.php';

if (! defined('PHPUnit_MAIN_METHOD')) {
	define('PHPUnit_MAIN_METHOD', 'Kornak_Service_AllTests::main');
}
require_once 'Kornak/Service/NabaztagTest.php';
require_once 'Kornak/Service/NotificationsTest.php';

class Kornak_Service_AllTests
{
	public static function main()
	{
		PHPUnit_TextUI_TestRunner::run(self::suite());
	}
	public static function suite()
	{
		$suite = new PHPUnit_Framework_TestSuite('Kornak - Kornak_Service');
		$suite->addTestSuite('Kornak_Service_NabaztagTest');
        $suite->addTestSuite('Kornak_Service_NotificationsTest');
		return $suite;
	}
}

if (PHPUnit_MAIN_METHOD == 'Kornak_Service_AllTests::main') {
	Kornak_Service_AllTests::main();
}